using System;
using System.Collections.Generic;
using System.Text;

namespace DataTransferObject
{
    public class clsTinTucDTO
    {
        //Fields.
        private String maTinTuc;
        private String tenTinTuc;
        private String tomTat;
        private String noiDung;
        private String hinhAnh;

        //Constructors.
        public clsTinTucDTO()
        {
        }

        public clsTinTucDTO(String maTinTuc, String tenTinTuc, String tomTat,
                         String noiDung, String hinhAnh)
        {
            this.maTinTuc = maTinTuc;
            this.tenTinTuc = tenTinTuc;
            this.tomTat = tomTat;
            this.noiDung = noiDung;
            this.hinhAnh = hinhAnh;
        }

        #region Properties
        public String MaTinTuc
        {
            set { this.maTinTuc = value; }
            get { return this.maTinTuc; }
        }

        public String TenTinTuc
        {
            set { this.tenTinTuc = value; }
            get { return this.tenTinTuc; }
        }

        public String TomTat
        {
            set { this.tomTat = value; }
            get { return this.tomTat; }
        }

        public String NoiDung
        {
            set { this.noiDung = value; }
            get { return this.noiDung; }
        }

        public String HinhAnh
        {
            set { this.hinhAnh = value; }
            get { return this.hinhAnh; }
        }

        #endregion.
    }
}
